From 284be486e40af47fd798bf3635654251acf586e4 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Fri, 11 Nov 2005 11:01:32 +0100 Subject: [PATCH] Max xen skbuff allocation is now 64KB. kmem caches only get populated with objects on first allocation, so if large caches end up being unused, they don't actually cost us very much. Signed-off-by: Keir Fraser --- linux-2.6-xen-sparse/arch/xen/kernel/skbuff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-2.6-xen-sparse/arch/xen/kernel/skbuff.c b/linux-2.6-xen-sparse/arch/xen/kernel/skbuff.c index cc13bd2cef..4534f362f2 100644 --- a/linux-2.6-xen-sparse/arch/xen/kernel/skbuff.c +++ b/linux-2.6-xen-sparse/arch/xen/kernel/skbuff.c @@ -17,7 +17,7 @@ /* Referenced in netback.c. */ /*static*/ kmem_cache_t *skbuff_cachep; -#define MAX_SKBUFF_ORDER 2 +#define MAX_SKBUFF_ORDER 4 static kmem_cache_t *skbuff_order_cachep[MAX_SKBUFF_ORDER + 1]; static struct { -- 2.30.2